package dao;

import entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * Author:shixiaojun@itany.com
 * Date:2022/5/19 14:49
 * Version:1.0-SNAPSHOT
 * Description:
 */
public interface UserDao {

    public void insertUser(User user);

    public User selectByUsername(String username);

    public User selectByUsernameAndPassword(@Param("username") String username,@Param("password") String password);

}
